package ooday05.homework;

public class Point {
    private int x;
    private int y;
    public int getX(){
        return  x;
    }
    public  void setX(){
        if (x>=0){
            this.x=x;
        }
    }
    public int getY(){
        return  y;
    }
    public void setY(int y){
        this.y=y;
    }

}
